package com.aspose.cells;

class zazl {
   zazh a;
   int b;
   short c;
   int d = -1;
   Object e;
   boolean f;
   String g;
   byte[] h;
   short i;

   zazl(zazh var1) {
      this.a = var1;
   }

   zazl(zazh var1, int var2, int var3) {
      this.a = var1;
      this.b = var2;
      this.c = (short)var3;
   }

   String a() {
      return CellsHelper.cellIndexToName(this.b, this.c);
   }

   void a(String var1) {
      byte var2 = 0;
      byte var3 = 0;
      int[] var4 = new int[]{var2};
      int[] var5 = new int[]{var3};
      CellsHelper.a(var1, var4, var5);
      int var6 = var4[0];
      int var7 = var5[0];
      this.b = var6;
      this.c = (short)var7;
   }

   int b() {
      if (this.e == null) {
         return 3;
      } else {
         Object var1 = this.e;
         switch(zamo.a(var1.getClass())) {
         case 3:
            return 0;
         case 9:
         case 14:
            return 4;
         case 16:
            return 1;
         case 18:
            if (zsk.b((String)var1)) {
               return 2;
            }

            return 5;
         default:
            return var1 instanceof zayy ? 5 : 6;
         }
      }
   }

   double c() {
      switch(this.b()) {
      case 1:
         return CellsHelper.getDoubleFromDateTime((DateTime)this.e, false);
      case 4:
         return (Double)this.e;
      default:
         throw new CellsException(6, "This cell does not contain numberic value.");
      }
   }

   public Object d() {
      if (this.e == null) {
         return this.e;
      } else {
         switch(zamo.a(this.e.getClass())) {
         default:
            return this.e instanceof zayy ? ((zayy)this.e).c : this.e;
         }
      }
   }

   boolean e() {
      return this.g != null || this.h != null;
   }

   Object f() {
      return this.e;
   }

   boolean g() {
      return false;
   }

   String h() {
      return this.g;
   }

   void b(String var1) {
      this.g = var1;
   }
}
